package com.xinxin.intelligenceexam.contract;

import android.support.annotation.NonNull;

import com.xinxin.intelligenceexam.base.BasePresenter;
import com.xinxin.intelligenceexam.base.BaseView;

import java.util.Date;

/**
 * User: Tianxin
 * Date: 2016-11-06
 * Time: 23:25
 */

public interface RegisterContract {
public interface View extends BaseView{
    void gotoMain();

    void getoLogin();
}

public interface Presenter extends BasePresenter {
    void register(@NonNull String name, @NonNull String password, @NonNull String studentCode, @NonNull Date birth, @NonNull String className);
}

public interface Model{
    boolean saveUserInfo();
}


}